package com.yan.composite;

public abstract class AbstractNameable implements Nameable {
    private String name;
    public AbstractNameable(String name) {
        this.name = name;
    }

    @Override
    public String getName() {
        return name;
    }
}
